//
//  PGTopicCell.m
//  PhotographicGuide
//
//  Created by indream on 13-4-12.
//  Copyright (c) 2013年 indream. All rights reserved.
//

#import "PGTopicCell.h"

@implementation PGTopicCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}
-(void)updateLabelSize:(BOOL)isIpad{
    if(isIpad){
        CGRect rect = self.frame;
        self.titleLabel.font = [UIFont systemFontOfSize:30.0];
        rect.size.width = 768.0;
        rect.size.height = 240.0;
        self.frame = rect;
        rect = self.titleView.frame;
        rect.origin.y = 182.0;
        rect.size.height = 60.0;
        rect.size.width = 768.0;
        self.titleView.frame = rect;
    }
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
